package com.houkunlin.configuration;

import com.houkunlin.system.applog.starter.AppLogInfo;
import com.houkunlin.system.applog.starter.store.AppLogStore;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * 应用日志处理
 *
 * @author HouKunLin
 */
@Component
public class LocalAppLogStore implements AppLogStore {
    private static final Logger logger = LoggerFactory.getLogger(LocalAppLogStore.class);

    @Override
    public void store(final AppLogInfo entity) {
        logger.debug("应用日志 {}", entity);
    }
}
